#!/bin/sh

docker run -d --name=cadvisor \
  --network common \
  -v /:/rootfs:ro \
  -v /var/run:/var/run:ro \
  -v /sys:/sys:ro \
  -v /var/lib/docker/:/var/lib/docker:ro \
  -v /dev/disk/:/dev/disk:ro \
  -v /etc/machine-id:/etc/machine-id:ro \
  -p 18080:8080 \
  --privileged \
  --device=/dev/kmsg \
  --restart always \
  cadvisor:v0.39.2
